/**
 * 
 */
package any.restlet.helper;

import java.io.IOException;

import org.restlet.resource.Representation;
import org.restlet.resource.Variant;

/**
 * @author keke
 * @reversion $Revision: 22 $
 * @version
 */
public interface RepresentationHandler {
	Object toEntity(Representation representation) throws IOException;

	Representation toRepresentation(Object entity, Variant variant);

}
